<!-- project|inject 标注类型 -->
<script lang="ts" setup>
import { provide, inject } from 'vue'
import type { InjectionKey } from 'vue'

const key = Symbol() as InjectionKey<string>

provide(key, 'foo')
</script>

<template>
  <div></div>
</template>

<style lang="scss" scoped></style>
